package com.hoozhi.education.entity;

import java.util.Date;
import java.util.Set;

/**
 * 用户实体类
 * @author pharen
 *
 */
public class EduUser {

	private Integer uid;				//主键
	
	private Set<EduGroup> group;		//用户组
	
	private String username;			//用户名
	
	private String password;			//密码
	
	private String realname;			//真实姓名
	
	private String gender;				//性别
	
	private Date birthday;				//生日
	
	private Date registerTime;			//注册时间
	
	private String registerIp;			//注册IP
	
	private Date lastLoginTime;			//最后登录时间
	
	private String lastLoginIp;			//最后登录时IP
	
	private Integer loginCount;			//总共登录次数

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public Set<EduGroup> getGroup() {
		return group;
	}

	public void setGroup(Set<EduGroup> group) {
		this.group = group;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public String getRegisterIp() {
		return registerIp;
	}

	public void setRegisterIp(String registerIp) {
		this.registerIp = registerIp;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Integer getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}
}
